package my.framework.ssm.sample.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xuexue
 * @date 2018/11/21 20:34
 */
@Slf4j
@Controller
public class IndexController {

    @RequestMapping("index")
    public String index() {
        log.info("hello word!");
        System.out.printf("hello word!");
        return "index";
    }
}
